package cn.itrip.beans.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name="itrip_user")
public class User {
    @Id
    private Long id;
    @Column(name="usercode")
    private String userCode;
    @Column(name="userpassword")
    private String userPassword;

    private Integer usertype;

    private Long flatid;
    @Column(name="username")
    private String userName;

    private String wechat;

    private String qq;

    private String weibo;

    private String baidu;

    private Date creationdate;

    private Long createdby;

    private Date modifydate;

    private Long modifiedby;

    private Integer activated;

}